<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
  <meta charset="UTF-8">
  <title>success</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" type="text/css" href="/main.css"/>
  <script th:src="@{/main.js}"></script>
</head>
<body>

  <div th:if="${flag} > 0">添加成功!</div>
  <div th:if="${flag} == 0">添加失败!</div>
  <div th:if="${flag} == -1">username 重复!</div>
  <a class="button" th:href="@{/index}">返回</a>
</body>
</html>
<!--
  User: lenovo
  Date: 2021/7/28
  Time: 19:43
  Being right half the time beats being half-right all the time.
-->
